package work.mediway.mdm.biz.mapper.dict;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

import work.mediway.mdm.biz.entity.dict.CtBusinessField;
import work.mediway.mdm.biz.vo.dict.BusinessFieldVO;

/**
 * @author zhongyj <1126834403@qq.com><br/>
 * @date 2021/1/27
 */
@Mapper
public interface CtBusinessFieldMapper extends BaseMapper<CtBusinessField> {
    /**
     * 查询业务域列表
     *
     * @param page  Page<BusinessFieldVO>
     * @param param String
     * @return List<BusinessFieldVO>
     */
    List<BusinessFieldVO> listBusiness(Page<BusinessFieldVO> page, @Param("param") String param);

    /**
     * 查询业务域医院列表
     *
     * @param page Page<BusinessFieldVO>
     * @return List<BusinessFieldVO>
     */
    List<BusinessFieldVO> listBusinessHospital(@Param("page") Page<BusinessFieldVO> page);
}